package ar.com.quickMart.database;

import java.util.Date;
import java.util.List;

import ar.com.quickMart.logic.Promotion;
import ar.com.quickMart.logic.Product;

public interface PromotionDao {

	public List<Product> getPromotionProducts(long promotionId);
	public boolean addPromotion(long promotionId, String description, long superMarketId, Date startDate, Date endingDate, float price);
	public boolean addProductToPromotion(long promotionId, long productBarCode, int count, float discount);
	public boolean addProductToPromotion(long promotionId, long productBarCode, int count);
	public boolean removeProductFromPromotion(long promotionId, long productBarCode);
	public boolean removePromotion(long promotionId);
	public Promotion getPromotionInfo(long code);
    
	
}
